package com.ubs.web.client;

import com.google.gwt.core.client.GWT;
import com.ubs.web.client.resource.HtmlMessages;
import com.ubs.web.client.service.ProtalService;
import com.ubs.web.client.service.ProtalServiceAsync;

public class AppContext {

	/**
	 * Create a remote service proxy to talk to the server-side Greeting service.
	 */
	private static final ProtalServiceAsync portalService = GWT
			.create(ProtalService.class);
	
	private static final HtmlMessages messages = GWT.create(HtmlMessages.class);
	
	public static ProtalServiceAsync getPortalService() {
		return portalService;
	}

	public static HtmlMessages getMessages(){
		return messages;
	}
	
}
